import { post } from "../utils/request";
//精品歌单分类
export const songslistAPI = () => post("/playlist/highquality/tags");
//获取歌单分类下具体的种类
export const songslistdetail = (keywords) =>
	post(`/top/playlist/highquality?cat=${keywords}`);
//根据id获取歌单详情
export const songdetailAPI = (id) => post(`/playlist/detail?id=${id}`);
// 通过获取到的歌曲ID获取歌曲详情;
export const songdetail = (id) => post(`/song/detail?ids=${id}`);
//获取歌曲的信息
export const loadMusicAPI = (id) => post(`/song/detail?ids=${id}`);
//这首歌的歌词
export const songLyric = (id) => post(`/lyric?id=${id}`);
//这首歌的歌
export const songUrl = (id) => post(`/song/url?id=${id}`);
